Investigating Adaptive Compilation Using the Mipspro Compiler

نویسندگان

  • Keith D. Cooper
  • Todd Waterman
چکیده

Despite the astonishing increases in processor performance over the last forty years, delivered application performance remains a critical issue for many important problems. Compilers play a critical role in determining that performance. A modern optimizing compiler contains many transformations that attempt to increase application performance. However, the best combination of transformations is an application-specific issue [4, 5]. This paper details an experiment in which we used techniques from our work on adaptive compilation in an attempt to duplicate the application and processor specific optimization attained by the ATLAS system [6]. Our goal was to show that an adaptive compiler can achieve results similar to those achieved by ATLAS by using more computer time and less human effort. Command-line flags provide the developer with some control over a compiler’s optimization process. We selected the MIPSpro compiler on an R10000 processor and used an adaptive feedback system to find the best blocking factors for the matrix-matrix multiply code in Linpack and ATLAS, DGEMM. (We found that the other command line flags either had little impact on DGEMM’s performance or had an obvious best setting.) Our experiments show that the adaptive approach: derives good blocking factors for DGEMM at various input sizes; picks better blocking factors, in general, than the MIPSpro compiler; and achieves performance that is competitive with ATLAS (for much less human effort). By automating this kind of tuning, adaptive compilation has the potential to make the custom-tuned performance of ATLAS available for a larger class of applications.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Using the SGI Pro64 Open Source Compiler Infra-Structure for Teaching and Research

Modern optimizing compilers are complex programs that require from tens to hundreds of people-years to be developed. Thus professors must use third-party compiler infra-structures to introduce students to compiler optimizations. Until recently only infra-structures developed at universities, research institutes, or by GNU were widely available for teaching. However, in May 2000, SGI made public...

متن کامل

Impact of OpenMP Optimizations for the MGCG Method

This paper shows several optimization techniques in OpenMP and investigates their impact using the MGCG method. MGCG is important for not only an e cient solver but also benchmarking since it includes several essential operations for high-performance computing. We evaluate several optimizing techniques on an SGI Origin 2000 using the SGI MIPSpro compiler and the RWCP Omni OpenMP compiler. In th...

متن کامل

An Empirical Study of Selective Optimization

This paper describes an empirical study of the SPECjvm98 benchmarks, using the Jalape~ no virtual machine. The study employs two compilers, a nonoptimizing compiler that is initially used to compile all application methods, and an optimizing compiler that is selectively used to recompile a parameterized set of hot methods based on past prooling. We view this study as a step in examining the fea...

متن کامل

The Power of Belady?s Algorithm in Register Allocation for Long Basic Blocks

Optimization techniques such as loop-unrolling and trace-scheduling can result in long straight-line codes. It is, however, unclear how well the register allocation algorithms of current compilers perform on these codes. Compilers may well have been optimized for human written codes, which are likely to have short basic blocks. To evaluate how the state of the art compilers behave on long strai...

متن کامل

Examining Committee

Adaptive Just-in-Time (JiT) compilers employ a wide range of techniques to concentrate compilation efforts in the most promising spots of the application. The goal is to balance tight compilation budgets with appropriate level of code quality. Such techniques include profiling to identify hot spots in the application, using multiple compilation strategies, and performing aggressive optimization...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:
  • IJHPCA

دوره 19  شماره 

صفحات  -

تاریخ انتشار 2005